#ifndef __SHARED_H__
#define __SHARED_H__

extern const unsigned char ASCIITable[16];
void Hex2Asc(unsigned char hex,unsigned char *asc);
unsigned char Asc2Hex(unsigned char *asc,unsigned char *hex);
unsigned char Asc1Hex(unsigned char *asc, unsigned char *hex);
unsigned char Dec2Hex(unsigned char dat);
unsigned int Cal_CRC(unsigned char *ptr, unsigned char len);
unsigned char TimeHexDec(unsigned char data);
unsigned char TimeDecHex(unsigned char data);
void Drop_Front_Zero_In_String(signed char *s, unsigned char len);
void bubble_sort(unsigned char array[], unsigned int n);



#endif	//__SHARED_H__
